package com.innazis.jfrogsurvey.obj;

/**
 * Created by Inna on 04.06.14.
 */
public class AnswerObj {
    private int _answer_id;
    private int _question_id;
    private int _survey_id;
    private int _answer_order;
    private String _answer_text;
    private Object _object_name; //to store the name of page's element - checkbox or radiobutton
    private boolean _is_checked;

    public AnswerObj() {
        super();
    }

    public AnswerObj(int answer_id, int question_id, int survey_id, int answer_order, String answer_text, Object object_name, boolean is_checked) {
        this._answer_id     =   answer_id;
        this._question_id   =   question_id;
        this._survey_id     =   survey_id;
        this._answer_order  =   answer_order;
        this._answer_text   =   answer_text;
        this._object_name   =   object_name;
        this._is_checked    =   is_checked;
    }

    // get set
    public int get_answer_id() {
        return _answer_id;
    }

    public void set_answer_id(int _answer_id) {
        this._answer_id = _answer_id;
    }

    public int get_question_id() {
        return _question_id;
    }

    public void set_question_id(int _question_id) {
        this._question_id = _question_id;
    }

    public int get_survey_id() {
        return _survey_id;
    }

    public void set_survey_id(int _survey_id) {
        this._survey_id = _survey_id;
    }

    public int get_answer_order() {
        return _answer_order;
    }

    public void set_answer_order(int _answer_order) {
        this._answer_order = _answer_order;
    }

    public String get_answer_text() {
        return _answer_text;
    }

    public void set_answer_text(String _answer_text) {
        this._answer_text = _answer_text;
    }

    public Object get_object_name() {
        return _object_name;
    }

    public void set_object_name(Object _object_name) {
        this._object_name = _object_name;
    }

    public boolean is_is_checked() {
        return _is_checked;
    }

    public void set_is_checked(boolean _is_checked) {
        this._is_checked = _is_checked;
    }

    // end get set
}
